package dianqigongchang;

public class Client {
    public static void main(String[] args) {
        Factory factory;
        Air air;
        TV tv;
        factory = (Factory)XMLUtil.getBean();
        air = factory.createAir();
        tv = factory.createTV();
        air.display();
        tv.display();
    }
}